
cl /c /MD /W4 tlg.cpp
link /dll /out:libtlg.dll /export:read_tlg /export:read_tlg_file /export:delete_tlg tlg.obj

cl /c /MD /W4 tlg_png.cpp -ID:\Software\lib\lpng152
link /dll /out:libtlg2png.dll /export:tlg_to_png /export:tlg_file_to_png_file tlg.obj tlg_png.obj D:\Software\lib\lpng152\projects\vstudio\Release\libpng15.lib

cl /c /MD /W4 tlg2png.cpp
link /out:tlg2png.exe tlg.obj tlg_png.obj tlg2png.obj D:\Software\lib\lpng152\projects\vstudio\Release\libpng15.lib

